package com.bosssoft.service;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bosssoft.entity.dto.FibTrainBudgetDTO;
import com.bosssoft.entity.po.FibTrainBudgetPO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bosssoft.entity.vo.FibTrainBudgetVO;

/**
 * @author Li kexi
 * Created on 2021/8/19.15:46
 */
public interface FibTrainBudgetService extends IService<FibTrainBudgetPO>{


    int updateBatch(List<FibTrainBudgetPO> list);

    int updateBatchSelective(List<FibTrainBudgetPO> list);

    int batchInsert(List<FibTrainBudgetPO> list);

    int insertOrUpdate(FibTrainBudgetPO record);

    int insertOrUpdateSelective(FibTrainBudgetPO record);

    boolean addTrain(FibTrainBudgetDTO fibTrainBudgetDTO);

    boolean editTrain(FibTrainBudgetDTO fibTrainBudgetDTO);

    Page<FibTrainBudgetVO> selectTrain(Integer current, Integer size);
}
